QT       += core gui network multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Protocol.cpp \
    chatbubble.cpp \
    fileprogressbar.cpp \
    filesystem.cpp \
    friend.cpp \
    groupchat.cpp \
    logoffwarning.cpp \
    main.cpp \
    mainwindow.cpp \
    messageboxwidget.cpp \
    modifyusrinfo.cpp \
    privatechat.cpp \
    sharefiledialog.cpp \
    socketworker.cpp \
    tcpclient.cpp \
    tipwidget.cpp \
    viewusrsdialog.cpp

HEADERS += \
    Protocol.h \
    chatbubble.h \
    fileprogressbar.h \
    filesystem.h \
    friend.h \
    groupchat.h \
    logoffwarning.h \
    mainwindow.h \
    messageboxwidget.h \
    modifyusrinfo.h \
    privatechat.h \
    sharefiledialog.h \
    socketworker.h \
    tcpclient.h \
    tipwidget.h \
    viewusrsdialog.h

FORMS += \
    fileprogressbar.ui \
    filesystem.ui \
    friend.ui \
    groupchat.ui \
    logoffwarning.ui \
    mainwindow.ui \
    messageboxwidget.ui \
    modifyusrinfo.ui \
    privatechat.ui \
    sharefiledialog.ui \
    tcpclient.ui \
    viewusrsdialog.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    config.qrc \
    image.qrc
